Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add check for enterprise #48248

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat: Add check for enterprise #48248

wants to merge 2 commits into from

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented Sep 20, 2024

Summary

Part of #45440

Add a simple check to check if the current instance is on the enterprise edition

Checklist

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
@Pytal Pytal added the 3. to review Waiting for reviews label Sep 20, 2024
@Pytal Pytal added this to the Nextcloud 31 milestone Sep 20, 2024
@Pytal Pytal self-assigned this Sep 20, 2024
/**
* @since 31.0.0
*/
public static function isEnterprise() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather add it to the ServerVersion class directly to not have more static methods in this generic utility class.

@skjnldsv skjnldsv added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants